package com.google.code

object Head {
  def apply(version: String, encoding: String) =
    new Head(version, encoding)
}

class Head(ver: String, enc: String) {

  val version = Attribute("version", ver)
  val encoding = Attribute("encoding", enc)

  override def toString = s"<?xml ${version} ${encoding}?>"
}
